package com.shopweb.controller;

import com.shop.bean.Shop;
import com.shopReduce.bean.ReduceProgramme;
import com.shopReduce.feign.ReduceProgrammeFeign;
import com.shopweb.service.IShopService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import shopBean.common.Enum.StatusAll;
import shopBean.common.bean.RestResult;
import shopBean.common.responseCode.Status;
import shopBean.common.utils.RestResultGenerator;

import java.util.HashMap;
import java.util.Map;

@RequestMapping("shop")
@RestController
public class ShopContoller {
    @Autowired
    ReduceProgrammeFeign reduceProgrammeFeign;
    @Autowired
    IShopService shopService;
    private static final Logger log = LoggerFactory.getLogger(ShopContoller.class);
    @RequestMapping("list.do")
	public String list() {
		return "  <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">交易成功</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">2</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">592.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"javascript:;\" class=\"ords-btn-dele\">删除订单</a><a href=\"comment.html\" class=\"ords-btn-com\">评价</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">交易成功</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">1</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">296.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"javascript:;\" class=\"ords-btn-dele\">删除订单</a><a href=\"comment.html\" class=\"ords-btn-com\">评价</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待付款</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">2</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">592.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"javascript:;\" class=\"ords-btn-dele\">删除订单</a><a href=\"order_info2.html\" class=\"ords-btn-com\">去付款</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待付款</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">1</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">296.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"javascript:;\" class=\"ords-btn-dele\">删除订单</a><a href=\"order_info2.html\" class=\"ords-btn-com\">去付款</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待发货</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">2</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">592.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    商品正在打包中，请您耐心等待....\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待发货</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">1</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">296.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    商品正在打包中，请您耐心等待....\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待发货</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">1</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">296.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    商品正在打包中，请您耐心等待....\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待收货</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">2</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">592.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"javascript:;\" class=\"ords-btn-com receipt\">确认收货</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待收货</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">1</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">296.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"javascript:;\" class=\"ords-btn-com receipt\">确认收货</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待评价</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">2</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">592.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"comment.html\" class=\"ords-btn-com\">去评价</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>\n" + 
				"\n" + 
				"                        <div class=\"weui-panel weui-panel_access\">\n" + 
				"                            <div class=\"weui-panel__hd\">\n" + 
				"                                <span>单号：2132165457654545</span><span class=\"ord-status-txt-ts fr\">待评价</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-media-box__bd  pd-10\">\n" + 
				"                                <div class=\"weui-media-box_appmsg ord-pro-list\">\n" + 
				"                                    <div class=\"weui-media-box__hd\">\n" + 
				"                                        <a href=\"pro_info.html\"><img class=\"weui-media-box__thumb\" src=\"upload/pro3.jpg\" alt=\"\"></a>\n" + 
				"                                    </div>\n" + 
				"                                    <div class=\"weui-media-box__bd\">\n" + 
				"                                        <h1 class=\"weui-media-box__desc\"><a href=\"pro_info.html\" class=\"ord-pro-link\">蓝之蓝蓝色瓶装经典Q7浓香型白酒500ml52度高端纯粮食酒2瓶装包邮</a></h1>\n" + 
				"                                        <p class=\"weui-media-box__desc\">\n" + 
				"                                            规格：<span>红色</span>，<span>23</span>\n" + 
				"                                        </p>\n" + 
				"                                        <div class=\"clear mg-t-10\">\n" + 
				"                                            <div class=\"wy-pro-pri fl\">\n" + 
				"                                                ¥<em class=\"num font-15\">296.00</em>\n" + 
				"                                            </div>\n" + 
				"                                            <div class=\"pro-amount fr\">\n" + 
				"                                                <span class=\"font-13\">数量×<em class=\"name\">1</em></span>\n" + 
				"                                            </div>\n" + 
				"                                        </div>\n" + 
				"                                    </div>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"ord-statistics\">\n" + 
				"                                <span>共<em class=\"num\">1</em>件商品，</span>\n" + 
				"                                <span class=\"wy-pro-pri\">总金额：¥<em class=\"num font-15\">296.00</em></span>\n" + 
				"                                <span>(含运费<b>￥0.00</b>)</span>\n" + 
				"                            </div>\n" + 
				"                            <div class=\"weui-panel__ft\">\n" + 
				"                                <div class=\"weui-cell weui-cell_access weui-cell_link oder-opt-btnbox\">\n" + 
				"                                    <a href=\"comment.html\" class=\"ords-btn-com\">去评价</a>\n" + 
				"                                </div>\n" + 
				"                            </div>\n" + 
				"                        </div>";
	}
//    @RequestMapping("insert")
    public RestResult insert(@RequestBody ReduceProgramme reduceProgramme, String user, String id) {
        log.warn("user" + user + "id" + id + "reduceProgramme id" + reduceProgramme.getId());
        return reduceProgrammeFeign.insert(reduceProgramme);
    }
    @RequestMapping("insert.api")
    public RestResult insert(@RequestBody Shop shop) {
        int result = shopService.insert(shop);
        if (result > 0) {
            return RestResultGenerator.genSuccessResult();
        }
        return RestResultGenerator.genErrorResult("新增失败！", null, Status.submit_error);
    }

    @RequestMapping("getShopById.api")
    public RestResult<Shop> getShopById(@RequestParam(value = "id", required = true) String id) {
        return RestResultGenerator.genSuccessResult(shopService.getShopById(id));
    }

    @RequestMapping("updateStatusById.api")
    public RestResult<Shop> updateStatusById(@RequestParam(value = "id", required = true) String id, @RequestParam(value = "status", required = true) StatusAll status) {
        Map<String,Object> params =new HashMap<String,Object>();
        params.put("id",id);
        params.put("status",status);
        int updateResult = shopService.updateStatusById(params);
        if(updateResult>0){
            return RestResultGenerator.genSuccessResult();
        }else{
            return RestResultGenerator.genErrorResult("修改失败！", null,Status.update_error);
        }
    }

}
